package org.jeecg.modules.bill.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 药品进货信息表
 * @Author: 孔小波
 * @Date:   2020-01-15
 * @Version: V1.0
 */
@Data
@TableName("medicine_buyer")
public class MedicineBuyer implements Serializable {

    private static final long serialVersionUID = 1L;

    /**进货单编号*/
    /**分布式全局唯一ID字符串类型*/
    @TableId(type = IdType.ID_WORKER_STR)
    private java.lang.String id;
    /**创建人*/
    @Excel(name = "创建人", width = 15)
    private java.lang.String createBy;
    /**创建日期*/
    @Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private java.util.Date createTime;
    /**更新人*/
    @Excel(name = "更新人", width = 15)
    private java.lang.String updateBy;
    /**更新日期*/
    @Excel(name = "更新日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private java.util.Date updateTime;
    /**批准文号*/
    @Excel(name = "批准文号", width = 15)
    private java.lang.String yid;
    /**药品名称*/
    @Excel(name = "药品名称", width = 15)
    private java.lang.String yname;
    /**进货数量*/
    @Excel(name = "进货数量", width = 15)
    private java.lang.Integer stocks;
    /**参考进价*/
    @Excel(name = "参考进价", width = 15)
    private java.lang.Double ypprice;
    /**总金额*/
    @Excel(name = "总金额", width = 15)
    private java.lang.Double money;
    /**供应商*/
    @Excel(name = "供应商", width = 15)
    private java.lang.String gysname;
    /**生产日期*/
    @Excel(name = "生产日期", width = 20, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private java.util.Date jyscrq;
    /**有效日期*/
    @Excel(name = "有效日期", width = 20, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private java.util.Date musetime;
    /**备注*/
    @Excel(name = "备注", width = 15)
    private java.lang.String jyremarks;
    /**审核状态*/
    private java.lang.String status;
}
